<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/view/include/taglib.jsp"%>
<div class="pageContent">
	<form method="post" action="${ctx}/management/user/save" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p style="display:none">
				<input name="id" type="hidden" size="30" value="${user.id }" readonly="readonly"/>			
			</p>
			<p>
				<label>用户账号：</label>
				<input name="account" type="text" size="30" value="${user.account }" readonly="readonly"/>
			</p>
			<p>
				<label>用户名称：</label>
				<input name="username" class="required" type="text" size="30" value="${user.username }" alt="请输入客户名称"/>
			</p>
			<p>
				<label>密码：</label>
				<input name="password" class="required" type="text" size="30" value="${user.password }" alt="请输入客户名称"/>
			</p>
			<p>
				<label>手机号：</label>
				<input name="phone" class="required" type="text" size="30" value="${user.phone}" alt="请输入客户手机号"/>
			<p>
				<label>邮箱：</label>
				<input name="email" class="required" type="text" size="30" value="${user.email }" alt="请输入客户邮箱"/>
			</p>
			<p>
				<label>注册时间：</label>
				<input name="createDate" type="text" class="date required" dateFmt="yyyy-MM-dd HH:mm:ss" size="30" 
				value="<fmt:formatDate value="${user.createDate }" pattern="yyyy-MM-dd HH:mm:ss"/>"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>状态：</label>
				<input name="state" class="required" type="text" size="30" value="${user.state }" alt="请选择客户状态"/>
			</p>
			<p>
				<label>级别：</label>
				<input name="level" class="required" type="text" size="30" value="${user.level }" alt="请选择客户级别"/>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
